package com.wn.icloud.provider.uac.controller.app;

import com.wn.icloud.provider.uac.service.app.AppCoverBiz;
import com.wn.icloud.provider.uac.vo.app.AppCoverPicture;
import com.wn.icloud.rest.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Set;

@Controller
@RequestMapping("/app/content/cover")
public class AppCoverController  extends BaseController<AppCoverBiz, AppCoverPicture> {

    @RequestMapping(value = "/getCover", method = RequestMethod.GET)
    @ResponseBody
    public Set<AppCoverPicture> getCoverToApp() {
        Set<AppCoverPicture> list = this.baseBiz.getCoverToApp();
        return list;
    }
}
